package com.saicmotor.pay.util;

import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;

public class StringUtil {

    public static boolean isJsonStr(String jsonInString) {
        try {
            new Gson().fromJson(jsonInString, Object.class);
            return true;
        } catch (JsonSyntaxException ex) {
            return false;
        }
    }
}
